﻿<%@ Page Title="" Language="C#" MasterPageFile="~/QuanTri/Manager.master" AutoEventWireup="true"
    CodeFile="TrangDanhSachLop.aspx.cs" Inherits="QuanTri_TrangDanhSachLop" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head1" runat="Server">
    <link href="../CSS/FixItem.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="Server">
    <div style="width: 100%; height:auto;">
        <div id="main_panel" style="width: 100%;">
            <div id="personal_content" style="padding: 10px; border: 1px solid #ccc">
                <div class="personal_top_text">
                    Danh sách học sinh theo lớp
                </div>
                <div class="personal_style_form">
                    <span class="personal_laber">Năm học: </span>
                    <asp:DropDownList ID="drNamHoc" runat="server" Width="120px" 
                        CssClass="heighcontrol" AutoPostBack="True" 
                        onselectedindexchanged="drNamHoc_SelectedIndexChanged">
                    </asp:DropDownList>
                </div>
                <%--<div class="personal_style_form">
                    <span class="personal_laber">Lớp học: </span>
                    <asp:DropDownList ID="drLopHoc" runat="server" Width="120px" CssClass="heighcontrol"
                        AutoPostBack="True" OnSelectedIndexChanged="drLopHoc_SelectedIndexChanged">
                    </asp:DropDownList>
                </div>--%>
                <div style=" float:left;width:100%" >
                <div style="position:relative;">
                    <div style="width: 30%;position:absolute;top:0px;left:0px; ">
                        <asp:GridView ID="grvKhoi10" runat="server" AutoGenerateColumns="False" Width="100%"
                            AllowPaging="True" Height="28px" ShowFooter="True">
                            <HeaderStyle BackColor="#9999FF" Height="30px" />
                            <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" VerticalAlign="Middle" />
                            <Columns>
                                <%--<asp:TemplateField>
                                <ItemTemplate>
                                    <asp:CheckBox ID="ckCheck" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>--%>
                                <asp:TemplateField HeaderText="STT">
                                    <ItemTemplate>
                                        <%# Container.DataItemIndex + 1 %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Khối 10" SortExpression="MaHS">
                                    <ItemTemplate>
                                        <asp:Label ID="lblMaHS" runat="server" Visible="false" Text='<%#Bind("MaLop") %>'></asp:Label>
                                        <asp:LinkButton runat="server" ID="lbtKhoi10" Text='<%#Bind("TenLop") %>' PostBackUrl='<%#"~/QuanTri/TrangDanhSachHS.aspx?MaLop="+Eval("MaLop")+"&MaNam="+this.drNamHoc.SelectedValue.ToString() %>'></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                    <div style="width: 30%;position:absolute;top:0px; left:35%;">
                        <asp:GridView ID="grvKhoi11" runat="server" AutoGenerateColumns="False" Width="100%"
                            AllowPaging="True" Height="28px" ShowFooter="True">
                            <HeaderStyle BackColor="#9999FF" Height="30px" />
                            <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" VerticalAlign="Middle" />
                            <Columns>
                                <%--<asp:TemplateField>
                                <ItemTemplate>
                                    <asp:CheckBox ID="ckCheck" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>--%>
                                <asp:TemplateField HeaderText="STT">
                                    <ItemTemplate>
                                        <%# Container.DataItemIndex + 1 %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Khối 11" SortExpression="MaHS">
                                    <ItemTemplate>
                                        <asp:Label ID="lblMaHS" runat="server" Visible="false" Text='<%#Bind("MaLop") %>'></asp:Label>
                                        <asp:LinkButton runat="server" ID="lbtKhoi10" Text='<%#Bind("TenLop") %>' PostBackUrl='<%#"~/QuanTri/TrangDanhSachHS.aspx?MaLop="+Eval("MaLop")+"&MaNam="+this.drNamHoc.SelectedValue.ToString() %>'></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                    <div style="width: 30%; position:absolute;top:0px; left:75%;">
                        <asp:GridView ID="grvKhoi12" runat="server" AutoGenerateColumns="False" Width="100%"
                            AllowPaging="True" Height="28px" ShowFooter="True">
                            <HeaderStyle BackColor="#9999FF" Height="30px" />
                            <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" VerticalAlign="Middle" />
                            <Columns>
                                <%--<asp:TemplateField>
                                <ItemTemplate>
                                    <asp:CheckBox ID="ckCheck" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>--%>
                                <asp:TemplateField HeaderText="STT">
                                    <ItemTemplate>
                                        <%# Container.DataItemIndex + 1 %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Khối 12" SortExpression="MaHS">
                                    <ItemTemplate>
                                        <asp:Label ID="lblMaHS" runat="server" Visible="false" Text='<%#Bind("MaLop") %>'></asp:Label>
                                        <asp:LinkButton runat="server" ID="lbtKhoi10" Text='<%#Bind("TenLop") %>' PostBackUrl='<%#"~/QuanTri/TrangDanhSachHS.aspx?MaLop="+Eval("MaLop")+"&MaNam="+this.drNamHoc.SelectedValue.ToString() %>'></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
